$OpenBSD: patch-src_libretroshare_src_rsserver_rsinit_cc,v 1.1.1.1 2013/08/15 21:55:20 stsp Exp $
--- src/libretroshare/src/rsserver/rsinit.cc.orig	Fri Mar 22 18:28:56 2013
+++ src/libretroshare/src/rsserver/rsinit.cc	Mon Aug 12 23:54:53 2013
@@ -2176,7 +2176,7 @@ int RsServer::StartupRetroShare()
 	std::vector<std::string> plugins_directories ;
 
 #ifndef WINDOWS_SYS
-	plugins_directories.push_back(std::string("/usr/lib/retroshare/extensions/")) ;
+	plugins_directories.push_back(std::string("${TRUEPREFIX}/lib/retroshare/extensions/")) ;
 #endif
 	plugins_directories.push_back(RsInitConfig::basedir + "/extensions/") ;
 #ifdef DEBUG_PLUGIN_SYSTEM
